// app/controller/users.js
'use strict';
const Controller = require('egg').Controller;

class UserController extends Controller {
  async index() {
    const ctx = this.ctx;
    ctx.body = await this.service.user.selAll();
  }
}

module.exports = UserController;
